package com.kamistoat.meimeimall.meimeimallware.learn;

import org.springframework.context.ApplicationListener;

public class LearnEventListener implements ApplicationListener<LearnApplicationEvent> {
    @Override
    public void onApplicationEvent(LearnApplicationEvent learnApplicationEvent) {
        // 在这里可以做任何事情
        System.out.println("监听到自定义事件LearnApplicationEvent，提取出传递信息:" + learnApplicationEvent.getInfo());
    }
}
